package com.rockcent.service;

import com.rockcent.common.common.JsonResult;
import retrofit2.Response;

/**
 * Created by zhangjh on 2016/12/5.
 */
public interface MallWechatMenuConfigSrv {

    /**
     *
     * @param mallId
     * @throws Exception
     */
    void initWechatMenu(Long mallId) throws Exception;

    /**
     *
     * @param domain
     * @param type
     * @param offset
     * @param count
     * @return
     * @throws Exception
     */
    JsonResult materialFileBatchGet(String domain, String type, int offset, int count) throws Exception;

    /**
     *
     * @param domain
     * @param offset
     * @param count
     * @return
     * @throws Exception
     */
    JsonResult materialNewsBatchGet(String domain, int offset, int count) throws Exception;

    /**
     *
     * @param domain
     * @param type
     * @param mediaId
     * @return
     * @throws Exception
     */
    JsonResult getMaterialInfo(String domain, String type, String mediaId) throws Exception;
}
